Deprecations in Pronghorn Core
Scheduled removals are listed in the table below.
Item | Description | Deprecation Release | Scheduled Removal Release | Replacement |
---|---|---|---|---|
DELETE /config/profile/delete/:id | Deletes a profile. | 2020.2 | 2021.2 | DELETE /profiles/:id |
DELETE /config/services/delete/:name | Deletes a service config from the system. | 2020.2 | 2021.2 | DELETE /adapters/:name |
DELETE /providers/:id | Deletes an adapter from the system. | 2020.2 | 2021.2 | DELETE /adapters/:name |
GET /config/active_services | Get all the active services running on the system. | 2020.2 | 2021.2 | GET /adapters or /applications |
GET /config/active_adapters | Get all the active adapters running on the system. | 2020.2 | 2021.2 | GET /adapters |
GET /config/profiles | Get all profiles in IAP. | 2020.2 | 2021.2 | GET /profiles |
GET /config/profiles/sync | Determines if active profile is in sync with system. | 2020.2 | 2021.2 | GET /profiles |
GET /config/property | Get the properties of an active profile. | 2020.2 | 2021.2 | GET /profiles |
GET /config/property/id/:id | Get the properties of a profile. | 2020.2 | 2021.2 | GET /profiles/:id |
GET /config/property/schema | Get the properties schema. | 2020.2 | 2021.2 | GET /schema/profiles |
GET /config/services | Get all the service configs on a system. | 2020.2 | 2021.2 | GET /adapters or /applications |
GET /config/services/schema | Gets the service config schema. | 2020.2 | 2021.2 | GET /schema/adapters/:name or /schema/applications/:name |
GET /config/services/sync | Determines which services are in sync with the system. | 2020.2 | 2021.2 | GET /adapters or /applications |
GET /health/modules | Gets the health of each service. | 2020.2 | 2021.2 | GET /health/adapters or /health/applications |
GET /health/module/:module | Gets the health of one service. | 2020.2 | 2021.2 | GET /health/adapters/:name or health/applications/:name |
GET /modules/stop/:module | Stops a running service. | 2020.2 | 2021.2 | PUT /adapters/:name/stop or /applications/:name/stop |
GET /modules/start/:module | Starts a service. | 2020.2 | 2021.2 | PUT /adapters/:name/start or /applications/:name/start |
GET /modules/restart/:module | Restart a running service. | 2020.2 | 2021.2 | PUT /adapters/:name/restart or /applications/:name/restart |
GET /providers | Get all the adapters on the system. | 2020.2 | 2021.2 | GET /adapters |
GET /providers/:id | Gets an adapter by id. | 2020.2 | 2021.2 | GET /adapters/:name |
GET /providers/:id/schema | Gets the specific schema for that particular adapter type. | 2020.2 | 2021.2 | GET /schema/adapters/:name |
GET /providers/schema | Gets the schema for adapters. | 2020.2 | 2021.2 | GET /schema/adapters/:name |
POST /config/profile/add | Creates a new profile. | 2020.2 | 2021.2 | POST /profiles |
POST /config/profiles/change | Changes the active profile. | 2020.2 | 2021.2 | PUT /profiles/:id/active |
POST /config/property/new | Adds a property to a profile. | 2020.2 | 2021.2 | PUT /profiles/:id |
POST /config/property/update | Updates a profile property. | 2020.2 | 2021.2 | PUT /profiles/:id |
POST /config/services/create | Creates a new service config. | 2020.2 | 2021.2 | POST /adapters |
POST /config/services/save | Updates an existing service config. | 2020.2 | 2021.2 | PUT /adapters/:name or /applications/:name |
POST /modules/load | Creates a new app during runtime. | 2020.2 | 2021.2 | None |
POST /modules/setLogging | Set the log levels for a service during runtime. | 2020.2 | 2021.2 | PUT /adapters/:name/loglevel or /applications/:name/loglevel |
POST /providers/schema/update | Gets the current schema for each type of adapter. | 2020.2 | 2021.2 | GET /schema/adapters/:name |
POST /appUpdate/changeLog/ | Gets the changelog for a service. | 2020.2 | 2021.2 | GET /adapters/:name/changelogs /application/:name/changelogs |
POST /getActiveSessions | Get a list of the active session tokens on the system. | 2021.1 | 2022.1 | None |
PUT /providers/:id | Creates or updates an adapter. | 2020.2 | 2021.2 | PUT /adapters/:name |
Removal of alarmProps as an Object
Setting the Profile property alarmProps
as an Object for single alarm locations has been deprecated in the 2021.1 release and will be removed in the 2022.1 release. As of 2021.1, the preferred configuration for the alarmProps
property is an array with either a single Object (single alarm location) or multiple Objects (multi-alarm locations).
Single location:
{
"alarmProps": [ { ... } ]
}
Multiple locations:
{
"alarmProps": [ { ... }, { ... } ]
}
What Should I Do?
At startup, all instances of alarmProps
will be migrated to an array of objects instead of the singular object. In the rare circumstance this can occur, please update any scripts that continue to use the object notation to now enclose that object in an array.
Removal of NPM Indexing
Creating indexes in IAP via npm run index
has been deprecated in the 2021.1 release, and this feature will be removed in the 2022.1 release. As of 2021.1, indexing is now standardized via new APIs within IAP. This will affect multiple applications, including:
- app-workflow_engine
- app-mop
- app-service_catalog.
What Should I Do?
The API replacement for the npm indexing scripts is POST /indexes/:collectionName
where the :collectionName
aligns with the collection that needs to be indexed. For example, to index the jobs collection, the API would look like POST /indexes/jobs
. This API does not need a request body. To check if a collection has been properly indexed, the API GET /indexes/:collectionName/status
can be used, so for the jobs collection this could be called with GET /indexes/jobs/status
.
$VAULT Encryption Replaces $ENC Encryption
The $ENC encryption used within service configs, profiles, and the properties.json is now deprecated. The replacement is $VAULT_ followed by the path used in HashiCorp Vault for encryption and decryption. Support for $ENC will be removed in the 2021.2 release, and any remaining $ENC values will no longer function after its removal.